use-modern-atomics
authorDebian Haskell Group <pkg-haskell-maintainers@lists.alioth.debian.org>
Mon, 17 Feb 2025 08:44:23 +0000 (09:44 +0100)
committerGianfranco Costamagna <locutusofborg@debian.org>
Mon, 17 Feb 2025 08:44:23 +0000 (09:44 +0100)
commit5058b785117cbc2fd41ee2b5938683a8f4c37549
treecf12fb5dac662fde47cd40931e445a62af378b05
parentf5e5ed05526451a5fa2331bea2b76f48f9fd81cf
use-modern-atomics

commit f8fa1d08d7cbfef508bab355bda80f495e928f98
Author: Ben Gamari <bgamari.foss@gmail.com>
Date:   Mon Apr 17 21:04:47 2023 +0000

    ghc-prim: Use C11 atomics

    Previously `ghc-prim`'s atomic wrappers used the legacy `__sync_*`
    family of C builtins. Here we refactor these to rather use the
    appropriate C11 atomic equivalents, allowing us to be more explicit
    about the expected ordering semantics.

Gbp-Pq: Name use-modern-atomics
libraries/ghc-prim/cbits/atomic.c